﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace CWCS.Core.Library.ScanManager
{
    /// <summary> 
    /// Author: Wesky 
    /// CreateTime: 2021/11/29 17:51:25 
    /// Description: 基恩士SR1000扫码器通信连接实体类
    /// </summary>
    public class TcpClientInfo
    {
        public IPAddress Ip { get; set; }
        public int Port { get; set; }
        /// <summary>
        /// 没扫到码的重试次数
        /// </summary>
        public int Count { get; set; }
        public Socket Client { get; set; }

        /// <summary>
        /// 扫码器编号
        /// </summary>
        public string ReaderNo { get; set; }
        /// <summary>
        /// 请求超时时间 毫秒
        /// </summary>
        public int SendTimeOut { get; set; }
        /// <summary>
        /// 接收超时时间  毫秒
        /// </summary>
        public int ReceiveTimeOut { get; set; }

    }
}
